package com.dao.purchase;

import com.model.purchase.PurchaseSupplyOfferMm;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface SupplyOfferMmMapper {

	int deleteByPrimaryKey(@Param("infId") String infId, @Param("inqId") String inqId, @Param("mmId") String mmId);

	int insert(PurchaseSupplyOfferMm record);

	PurchaseSupplyOfferMm selectByPrimaryKey(@Param("infId") String infId, @Param("inqId") String inqId,
			@Param("planId") String planId);

	List<PurchaseSupplyOfferMm> selectAll(Map<String, Object> map);

	int selectAllCount(Map<String, Object> map);

	int updateByPrimaryKey(PurchaseSupplyOfferMm record);

	// 删除供应商报价明细表
	int deleteByInqId(String inqId);

	int deleteByInqIdAndInfId(@Param("inqId")String inqId, @Param("infId")String infId);
}
